package String;

/**
 *
 */
public class CharAtDemo {
    public static void main(String[] args) {
        //          123456789
        String str="think  in  java";
        char c = str.charAt(9); //获取str中下标9对应的字符
        System.out.println(c); //n
    }
}
